package com.itranswarp.learnjava;

// import com.itranswarp.learnjava.Point;
// 
public class Main {

	public static void main(String[] args) {
		Point point = new Point(512 , 250);
		System.out.println("point获取成功" + point.x() + " " + point.y());
		System.out.println("point对象值为"  + point);

		var z = Point.of();
		System.out.println("z获取成功" + z.x() + " " + z.y());
		System.out.println("z对象值为"  + z);


		var y = Point.of(250 , 251);
		System.out.println("y获取成功" + y.x() + " " + y.y());
		System.out.println("y对象值为"  + y);

		System.out.println("the enum value is " + WEEKDAY.SUNDAY.equals(WEEKDAY.MONDAY));
	}

}
